package cn.lxg.dao.service;

import cn.lxg.dao.entity.Lottery;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lxg
 * @since 2024-11-29
 */
public interface ILotteryService extends IService<Lottery> {

    //获取最近30期排查
    List<Lottery> getLatelySizeBySameWeek(int size);
    //获取所有的红球
    List<Integer> getAllRedList(List<Lottery> thirtyByWeek);

    //获取所有篮球
    List<Integer> getAllBlueList(List<Lottery> thirtyByWeek);
    //同一天
    List<Lottery> getLatelySizeBySameDay(int size);
    //同期次
    List<Lottery> getLatelySizeBySamePeriod(int size);
    //最近的
    List<Lottery> getLatelySizeByDay(int size);
}
